MailPoet\Entities\NewsletterEntity A

Total Complexity 71
Dependencies 10
Dependents 82
Total lines 513
Lines of code 206
Logical lines of code 110
Comment lines 191
Methods 46
Properties 18

Methods 46

Method Rating Maintainability Complexity Lines of code
setStatus()
A
52 13 22
getOptionsAsArray()
S
63 3 11
getProcessedAt()
S
63 3 11
getOption()
S
69 3 6
getContent()
S
74 2 4
getGlobalStyle()
S
68 2 7
getLastUpdatedQueue()
S
69 2 6
getLatestQueue()
S
69 2 6
getOptionValue()
S
75 2 4
__get()
S
67 2 7
getSegmentIds()
S
70 2 6
setParent()
S
81 1 3
getGaCampaign()
S
82 1 3
setGaCampaign()
S
81 1 3
setUnsubscribeToken()
S
81 1 3
getParent()
S
77 1 4
__construct()
S
71 1 6
getChildren()
S
82 1 3
getNewsletterSegments()
S
82 1 3
getOptions()
S
82 1 3
getQueues()
S
82 1 3
getUnfinishedQueues()
S
70 1 6
getUnsubscribeToken()
S
82 1 3
getSentAt()
S
82 1 3
setSentAt()
S
81 1 3
setSenderAddress()
S
81 1 3
__clone()
S
69 1 7
getHash()
S
82 1 3
setHash()
S
81 1 3
getSubject()
S
82 1 3
setSubject()
S
81 1 3
getType()
S
82 1 3
setType()
S
81 1 3
getSenderAddress()
S
82 1 3
getSenderName()
S
82 1 3
setBody()
S
81 1 3
setSenderName()
S
81 1 3
getStatus()
S
82 1 3
getReplyToAddress()
S
82 1 3
setReplyToAddress()
S
81 1 3
getReplyToName()
S
82 1 3
setReplyToName()
S
81 1 3
getPreheader()
S
82 1 3
setPreheader()
S
81 1 3
getBody()
S
82 1 3
canBeSetSent()
S
78 1 3